﻿<UserControl x:Class="GEPL.StandardModulesLibrary.Views.Turtle.TurtleGoView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:p="clr-namespace:GEPL.StandardModulesLibrary.Properties"
             xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
             xmlns:vm="clr-namespace:GEPL.StandardModulesLibrary.ViewModels.Turtle"
             mc:Ignorable="d"
             Height="200"
             Width="200" d:DataContext="{d:DesignInstance vm:TurtleGoViewModel}">
    <Grid>
        <StackPanel VerticalAlignment="Center"
                    Margin="20">
            <StackPanel Orientation="Horizontal">
                <Label Content="{x:Static p:Resources.Turtle_Steps}" />
                <xctk:IntegerUpDown Width="100"
                                    Value="{Binding Steps, Mode=TwoWay}" />
            </StackPanel>
            <RadioButton x:Name="RadioForward"
                         Content="{x:Static p:Resources.Turtle_Forward}"
                         IsChecked="{Binding Forward, Mode=TwoWay}" />
            <RadioButton x:Name="RadioBackward"
                         Content="{x:Static p:Resources.Turtle_Backward}"
                         IsChecked="{Binding Backward, Mode=TwoWay}" />
        </StackPanel>
    </Grid>
</UserControl>